package com.ge.modules.api.service;

import com.ge.modules.entity.TbCommodityTypeEntity;

import java.util.List;
import java.util.Map;

/**
 * 商品类型表
 * 
 * @author lanyonglin
 * @email www.baidu.com
 * @date 2018-04-20 15:51:26
 */
public interface TbCommodityTypeService {
	
	TbCommodityTypeEntity queryObject(Integer id);
	
	List<TbCommodityTypeEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbCommodityTypeEntity commodityType);
	
	void update(TbCommodityTypeEntity commodityType);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
